<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>下学期 --- 我的购物订单</title>
<link href="${ctx}/css/panels.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/myhome-css/order-info.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div class="order_right">
  <div class="bluePanel">
 	 <h3><a href="#" class="titleLink" title="我的购物订单">我的购物订单</a></h3>
 	 <div class="box">
 	 	<h3>我的购物订单</h3>
 	 	<h4>查看您最近的购物订单，了解订单的状况！</h4>
 	 	<hr />
 	 	<div class="order_content">
			<table id="detail_table" cellspacing="0">
			<tr>
				<th class="td_head">订单号</th>
				<th>下单时间</th>
				<th>付款方式</th>
				<th>送货方式</th>
				<th>送货时间</th>			
				<th>状态</th>
				<th>备注</th>
			</tr>
			<!--
			<tr>
				<td class="dan td_head"><a href="#">000001</a></td>
				<td class="dan">2010/04/10</td>
				<td class="dan">货到付款</td>
				<td class="dan">送货上门</td>
				<td class="dan">2010/04/10</td>
				
				<td class="dan">交易中</td>
				<td class="dan">无</td>
			</tr>
			-->
			<s:if test="page.pageList != null">
			<s:iterator value="page.pageList" status="itStatus">
			<s:if test="(#itStatus.index+1)%2 == 0">
			<tr>
				<td class="shuang td_head"><a href="#"><s:property value="id"/></a></td>
				<td class="shuang"><s:date name="createTime" format="yyyy'/'MM'/'dd hh:mm:ss" /></td>
				<td class="shuang"><s:property value="payment"/></td>
				<td class="shuang"><s:property value="peisongMethod"/></td>
				<td class="shuang"><s:date name="peisongTime" format="yyyy'/'MM'/'dd hh:mm:ss" /></td>			
				<td class="shuang"><s:property value="status"/></td>
				<td class="shuang"><s:property value="bak"/></td>
			</tr>
			</s:if>
			<s:else>
			<tr>
				<td class="dan td_head"><a href="#"><s:property value="id"/></a></td>
				<td class="dan"><s:date name="createTime" format="yyyy'/'MM'/'dd hh:mm:ss" /></td>
				<td class="dan"><s:property value="payment"/></td>
				<td class="dan"><s:property value="peisongMethod"/></td>
				<td class="dan"><s:date name="peisongTime" format="yyyy'/'MM'/'dd hh:mm:ss" /></td>			
				<td class="dan"><s:property value="status"/></td>
				<td class="dan"><s:property value="bak"/></td>
			</tr>
			</s:else>
			</s:iterator>
			</s:if>
			<s:else>
				<tr><td colspan="7">对不起，您还没有下订单购过物！</td></tr>
			</s:else>
			</table>
        </div>
 	 </div>
  </div>
</div>
</body>
</html>